<?php

include "conecta.php";

$id=$_GET["id"];

$sqlCommand = "SELECT _id, nick, email FROM mapa_contatos, usuario WHERE _id=_id_contato AND _id_usuario=".$id;
$query = mysqli_query($conect, $sqlCommand);
while ($row = mysqli_fetch_array($query)){
      $texto = $row["_id"].";".$row["nick"].";".$row["email"].";";
      echo $texto."<br/>";
}


?>


